package com.fan.testdemo.controller;

import com.fan.testdemo.service.TestService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: fan
 * @CreateTime 2024/7/25 14:20
 * @Description
 * @Version 1.0
 */
@RestController
public class TestController {


    @Resource
    TestService testService;

    @GetMapping("/test")
    public String test() {
       return testService.test();
    }

}
